<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Realm - admins</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="约健管理平台">
   <include file="Public/head" />
   
  </head>
  <body>
   <div id="wrap">
    <include file="Public/top" />
    <div  style="margin-top:15px" class="container-fluid">
<include file="Public/sidemenu"/>
<div  style="margin-top:15px" class="main_container" id="admins_page">
<!-- <link rel="stylesheet" href="__PUBLIC__/assets_a/plugins/layui/css/layui.css" media="all" />
<link rel="stylesheet" href="__PUBLIC__/assets_a/plugins/font-awesome/css/font-awesome.min.css"> -->

            <div class="row-fluid">

                <h2 class="heading">
                  修改管理员
                </h2>
            </div> <!-- /row-fluid -->
 <div class="row-fluid">
      <!-- Main window -->   
        <div class="widget widget-padding span12">
            <div class="widget-header">
              <i class="icon-group"></i>
              <h5>管理员列表</h5>
              <div class="widget-buttons">
                 <!--  <a href="#" data-title="Add admin" data-toggle="modal" data-target="#example_modal"><i class="icon-plus"></i></a> -->
                  <a href="#" data-title="Collapse" data-collapsed="false" class="collapse"><i class="icon-chevron-up"></i></a>
              </div>
            </div>  
            <div class="widget-body">
                  <div style="margin: 15px;">
      

        <div class="col-md-3  col-xs-12 col-sm-6 col-sm-offset-3 col-md-offset-4 col-xs-offset-2" >
            <form  method="post"  class="form-horizontal" action="http://localhost/neu1_yuejian/index.php/Admin/Admins/updateadmin"  enctype="multipart/form-data"  >
            <table name="admins"   class="table table-responsive">
            <tr>
            <input  type="hidden"  name="admin_id" >
            </tr>
            <tr>
            <td style="overflow: hidden;display: block;width: 90px">用户名</td>
            <td><input class="form-control" type="text"  name="admin_name" value="<?php echo $admins[0]['admin_name']; ?>"></td>
            </tr>
            <tr>
            <td style="overflow: hidden;display: block;width: 90px">联系电话：</td>
            <td><input class="form-control"  name="admin_phone"  type="text" value="<?php echo $admins[0]['admin_phone']; ?>"></td>
            </tr>
            <tr>
            <td style="overflow: hidden;display: block;width: 90px">密码：</td>
            <td><input class="form-control"  name="admin_pwd" type="password" value="<?php echo $admins[0]['admin_pwd']; ?>"></td>
            </tr>
            <tr>
            <td style="overflow: hidden;display: block;width: 90px">所属俱乐部：</td>
            <td><input class="form-control"  name="admin_pwd" type="text" value="<?php echo $admins[0]['club_id']; ?>"></td>
            </tr>


            </table>  
                <div class="fileupload fileupload-new" data-provides="fileupload">
                   <input type="hidden" value="<?php echo $admins[0]['admin_pic']; ?>" name="admin_pic" >
                          <div class="fileupload-new img-thumbnail"
                               style="width: 110px; height: 110px;background-color:#5f5f5f">
                              <img src="__PUBLIC__/Uploads/logo/{$vo.admin_pic}">
                          </div>
                          <div class="fileupload-preview fileupload-exists img-thumbnail"
                               style="width: 110px; max-height: 110px;"></div>
                          
                      
                    <span class="btn btn-default btn-file">
                        <span class="fileupload-new">选择</span>
                        <span class="fileupload-exists">重选</span>
                        <input type="file" name="file" value="{$vo.admin_pic}">
                      </span>
                      <span>
                        <a class="btn btn-default fileupload-exists" data-dismiss="fileupload"
                                  href="#">撤销</a>
                        </span>
                      </div> 
             <tr><td><button class="btn btn-danger" style="width: 80%; margin-top: 20px; text-align:center" type="submit">提交</button></td></tr>
            </form>
             </div>
     
    </div>
    

            </div> <!-- /widget-body -->
          </div> <!-- /widget -->
 </div> 
 <!-- /row-fluid -->

      </div>
      <!-- /Main window -->

    </div><!--/.fluid-container-->
    </div><!-- wrap ends-->
<include file="Public/footer"/>
    

  </body>
</html>
